package com.sky.vo;

import com.sky.Entity.Employee;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel("员工分页查询返回数据模型")
@Builder
public class EmployeeQueryListVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(name = "分页查询数据总数",required = true)
    private Long total;
    @ApiModelProperty(name = "分页查询当前页数据",required = true)
    private List<Employee> records;
}
